home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / powerpc / memoryPPC.h next >
C/C++ Source or Header  |  1998-04-07  |  964b  |  43 lines

  1. #ifndef POWERPC_MEMORYPPC_H
  2. #define POWERPC_MEMORYPPC_H
  3.  
  4. /*
  5. **  $VER: memoryPPC.h 2.0 (15.03.98)
  6. **  WarpOS Release 14.1
  7. **
  8. **  '(C) Copyright 1998 Haage & Partner Computer GmbH'
  9. **       All Rights Reserved
  10. */
  11.  
  12. /* additional memory flags for AllocVecPPC */
  13.  
  14. #ifndef EXEC_MEMORY_H
  15. #include <exec/memory.h>
  16. #endif
  17.  
  18. #define MEMB_WRITETHROUGH 20
  19. #define MEMB_COPYBACK     21
  20. #define MEMB_CACHEON      22
  21. #define MEMB_CACHEOFF     23
  22. #define MEMB_GUARDED      24
  23. #define MEMB_NOTGUARDED   25
  24. #define MEMB_BAT          26
  25. #define MEMB_PROTECT      27
  26. #define MEMB_WRITEPROTECT 28
  27.  
  28. #define MEMF_WRITETHROUGH (1L<<20)
  29. #define MEMF_COPYBACK     (1L<<21)
  30. #define MEMF_CACHEON      (1L<<22)
  31. #define MEMF_CACHEOFF     (1l<<23)
  32. #define MEMF_GUARDED      (1L<<24)
  33. #define MEMF_NOTGUARDED   (1L<<25)
  34. #define MEMF_BAT          (1L<<26)
  35. #define MEMF_PROTECT      (1L<<27)
  36. #define MEMF_WRITEPROTECT (1L<<28)
  37.  
  38. /* status returned by FreeVecPPC */
  39.  
  40. #define MEMERR_SUCCESS   0
  41.  
  42. #endif
  43.